package com.hl.sfzy.mapper;

import com.hl.sfzy.entity.Consult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ConsultMapper1 {
    List<Consult> getConsultsByUserId(@Param("userId") Integer userId,
                                      @Param("offset") Integer offset,
                                      @Param("pageSize") Integer pageSize);
}